﻿using System;
using System.Windows.Threading;

namespace MassPokerTool.Infrastructure.Threading
{
    public interface IDispatcherService
    {
        bool IsSynchronized { get; }

        void Invoke(Action action);

        void BeginInvoke(Action action);

        void BeginInvoke(Action action, DispatcherPriority priority);
    }
}
